using Gateway.Common.Entity;

namespace Gateway.Domain.Entities;

public class Order : AggregateRootEntityBase
{
    /// <summary>
    /// payer id
    /// </summary>
    public string Payer { get; set; }
    /// <summary>
    /// pay money cent
    /// </summary>
    public long Money { get; set; }
    /// <summary>
    /// area
    /// </summary>
    public string Area { get; set; }

    /// <summary>
    /// order status
    /// NoPay=1,
    /// Paying=2,
    /// Payed=3,
    /// PayFail=4
    /// </summary>
    public string OrderStatus { get; set; }

    
    public DateTime OrderTime { get; set; }
}